package com.hl.qzzpbackend.model.dto.user;

import com.hl.qzzpbackend.common.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 用户分页查询请求类
 *
 * @author helong
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserQueryRequest extends PageRequest implements Serializable {

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String account;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String nick;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    private Integer role;
}

